[P2] V3 Load User Context
curl --request POST \
--url https://api-lr.agent.ai/v1/action/meeting_prep_v3_load_user_context \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"user_data": "{{user.context}}",
"user_email": "{{_google_email}}",
"output_variable_name": "user_context",
"meeting_type": "general",
"custom_goals": "<string>",
"voice_profile": "professional"
}
'import requests
url = "https://api-lr.agent.ai/v1/action/meeting_prep_v3_load_user_context"
payload = {
"user_data": "{{user.context}}",
"user_email": "{{_google_email}}",
"output_variable_name": "user_context",
"meeting_type": "general",
"custom_goals": "<string>",
"voice_profile": "professional"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
user_data: '{{user.context}}',
user_email: '{{_google_email}}',
output_variable_name: 'user_context',
meeting_type: 'general',
custom_goals: '<string>',
voice_profile: 'professional'
})
};
fetch('https://api-lr.agent.ai/v1/action/meeting_prep_v3_load_user_context', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-lr.agent.ai/v1/action/meeting_prep_v3_load_user_context",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'user_data' => '{{user.context}}',
'user_email' => '{{_google_email}}',
'output_variable_name' => 'user_context',
'meeting_type' => 'general',
'custom_goals' => '<string>',
'voice_profile' => 'professional'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-lr.agent.ai/v1/action/meeting_prep_v3_load_user_context"
payload := strings.NewReader("{\n \"user_data\": \"{{user.context}}\",\n \"user_email\": \"{{_google_email}}\",\n \"output_variable_name\": \"user_context\",\n \"meeting_type\": \"general\",\n \"custom_goals\": \"<string>\",\n \"voice_profile\": \"professional\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api-lr.agent.ai/v1/action/meeting_prep_v3_load_user_context")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"user_data\": \"{{user.context}}\",\n \"user_email\": \"{{_google_email}}\",\n \"output_variable_name\": \"user_context\",\n \"meeting_type\": \"general\",\n \"custom_goals\": \"<string>\",\n \"voice_profile\": \"professional\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-lr.agent.ai/v1/action/meeting_prep_v3_load_user_context")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"user_data\": \"{{user.context}}\",\n \"user_email\": \"{{_google_email}}\",\n \"output_variable_name\": \"user_context\",\n \"meeting_type\": \"general\",\n \"custom_goals\": \"<string>\",\n \"voice_profile\": \"professional\"\n}"
response = http.request(request)
puts response.read_body{
"status": 123,
"response": {}
}{
"status": 123,
"response": {}
}{
"status": 123,
"response": {}
}{
"status": 123,
"response": {}
}Meeting Prep V3
[P2] V3 Load User Context
V3: Loads user profile, preferences, and seller profile with validation and completeness scoring.
POST
/
action
/
meeting_prep_v3_load_user_context
[P2] V3 Load User Context
curl --request POST \
--url https://api-lr.agent.ai/v1/action/meeting_prep_v3_load_user_context \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"user_data": "{{user.context}}",
"user_email": "{{_google_email}}",
"output_variable_name": "user_context",
"meeting_type": "general",
"custom_goals": "<string>",
"voice_profile": "professional"
}
'import requests
url = "https://api-lr.agent.ai/v1/action/meeting_prep_v3_load_user_context"
payload = {
"user_data": "{{user.context}}",
"user_email": "{{_google_email}}",
"output_variable_name": "user_context",
"meeting_type": "general",
"custom_goals": "<string>",
"voice_profile": "professional"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
user_data: '{{user.context}}',
user_email: '{{_google_email}}',
output_variable_name: 'user_context',
meeting_type: 'general',
custom_goals: '<string>',
voice_profile: 'professional'
})
};
fetch('https://api-lr.agent.ai/v1/action/meeting_prep_v3_load_user_context', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-lr.agent.ai/v1/action/meeting_prep_v3_load_user_context",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'user_data' => '{{user.context}}',
'user_email' => '{{_google_email}}',
'output_variable_name' => 'user_context',
'meeting_type' => 'general',
'custom_goals' => '<string>',
'voice_profile' => 'professional'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-lr.agent.ai/v1/action/meeting_prep_v3_load_user_context"
payload := strings.NewReader("{\n \"user_data\": \"{{user.context}}\",\n \"user_email\": \"{{_google_email}}\",\n \"output_variable_name\": \"user_context\",\n \"meeting_type\": \"general\",\n \"custom_goals\": \"<string>\",\n \"voice_profile\": \"professional\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api-lr.agent.ai/v1/action/meeting_prep_v3_load_user_context")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"user_data\": \"{{user.context}}\",\n \"user_email\": \"{{_google_email}}\",\n \"output_variable_name\": \"user_context\",\n \"meeting_type\": \"general\",\n \"custom_goals\": \"<string>\",\n \"voice_profile\": \"professional\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-lr.agent.ai/v1/action/meeting_prep_v3_load_user_context")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"user_data\": \"{{user.context}}\",\n \"user_email\": \"{{_google_email}}\",\n \"output_variable_name\": \"user_context\",\n \"meeting_type\": \"general\",\n \"custom_goals\": \"<string>\",\n \"voice_profile\": \"professional\"\n}"
response = http.request(request)
puts response.read_body{
"status": 123,
"response": {}
}{
"status": 123,
"response": {}
}{
"status": 123,
"response": {}
}{
"status": 123,
"response": {}
}Authorizations
Bearer token from your account (https://agent.ai/user/integrations#api)
Body
application/json
The full user context object including optional seller_profile.
Current user's email address.
Variable name to store user context with seller profile data.
Pattern:
^[a-zA-Z][a-zA-Z0-9_]*$Type of meeting for goal suggestions.
Optional custom meeting goals.
Voice/tone profile for the meeting prep.
Available options:
professional, friendly, executive, technical ⌘I

